![]() |
MQTT C Client Libraries Internals
|

Data Fields | |
| int | type |
| MQTTAsync_onSuccess * | onSuccess |
| MQTTAsync_onFailure * | onFailure |
| MQTTAsync_onSuccess5 * | onSuccess5 |
| MQTTAsync_onFailure5 * | onFailure5 |
| MQTTAsync_token | token |
| void * | context |
| START_TIME_TYPE | start_time |
| MQTTProperties | properties |
| union { | |
| struct { | |
| int count | |
| char ** topics | |
| int * qoss | |
| MQTTSubscribe_options opts | |
| MQTTSubscribe_options * optlist | |
| } sub | |
| struct { | |
| int count | |
| char ** topics | |
| } unsub | |
| struct { | |
| char * destinationName | |
| int payloadlen | |
| void * payload | |
| int qos | |
| int retained | |
| } pub | |
| struct { | |
| int internal | |
| int timeout | |
| enum MQTTReasonCodes reasonCode | |
| } dis | |
| struct { | |
| int currentURI | |
| int MQTTVersion | |
| current MQTT version being used to connect | |
| } conn | |
| } | details |